#include "pieobj.h"

PieObj::PieObj(QString title, int num)
{
    this->title = title;
    this->num = num;
}
void PieObj::setTitle(QString title)
{
    this->title = title;
}

void PieObj::setNum(int num)
{
    this->num = num;
}

QString PieObj::getTile()
{
    return this->title;
}

int PieObj::getNum()
{
    return this->num;
}
